package com.oa.bean.work;

import java.util.Date;

//员工工作经历表
public class Jobs {
	private int jid;//主键id
	private int eid;//员工编号
	private Date jstart;//开始时间
	private Date jend;//结束时间
	private String jcompany;//公司名称
	private String jedu;//公司职位
	private String jpeople;//证明人
	private String jtel;//证明人电话
	
	private Emp emp;

	public Jobs() {}

	public Jobs(int jid, int eid, Date jstart, Date jend, String jcompany, String jedu, String jpeople, String jtel) {
		super();
		this.jid = jid;
		this.eid = eid;
		this.jstart = jstart;
		this.jend = jend;
		this.jcompany = jcompany;
		this.jedu = jedu;
		this.jpeople = jpeople;
		this.jtel = jtel;
	}

	public int getJid() {
		return jid;
	}

	public void setJid(int jid) {
		this.jid = jid;
	}

	public int getEid() {
		return eid;
	}

	public void setEid(int eid) {
		this.eid = eid;
	}

	public Date getJstart() {
		return jstart;
	}

	public void setJstart(Date jstart) {
		this.jstart = jstart;
	}

	public Date getJend() {
		return jend;
	}

	public void setJend(Date jend) {
		this.jend = jend;
	}

	public String getJcompany() {
		return jcompany;
	}

	public void setJcompany(String jcompany) {
		this.jcompany = jcompany;
	}

	public String getJedu() {
		return jedu;
	}

	public void setJedu(String jedu) {
		this.jedu = jedu;
	}

	public String getJpeople() {
		return jpeople;
	}

	public void setJpeople(String jpeople) {
		this.jpeople = jpeople;
	}

	public String getJtel() {
		return jtel;
	}

	public void setJtel(String jtel) {
		this.jtel = jtel;
	}

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	@Override
	public String toString() {
		return "Jobs [jid=" + jid + ", eid=" + eid + ", jstart=" + jstart + ", jend=" + jend + ", jcompany=" + jcompany
				+ ", jedu=" + jedu + ", jpeople=" + jpeople + ", jtel=" + jtel + "]";
	}
	
}
